#ifndef PUSHSERVER_SERVERERRORCODE_H
#define PUSHSERVER_SERVERERRORCODE_H
//定义请求返回中的code
#include <nlohmann/json.hpp>
#include <errorcode/ErrorCode.h>
#define SvrCode(val) (-10000-val)
namespace ServerErrorCode{
    extern ErrorCode normal;
    extern ErrorCode missing_token_in_request_param;
    extern ErrorCode missing_content_in_request_param;
    extern ErrorCode token_cannot_empty;
    extern ErrorCode content_cannot_empty;
    extern ErrorCode template_wrong;

}
#endif //PUSHSERVER_SERVERERRORCODE_H
